import './index.html'
import dva from 'dva'
import './utils/pinyin.js'
// import { browserHistory } from 'dva/router';
// 1. Initialize
const app = dva({
    // history:browserHistory
})

// 2. Model

app.model(require('./models/app'))
app.model(require("./models/attendance"));
app.model(require("./models/teacher"));
app.model(require('./models/dashboard'))
// app.model(require('./models/users'))
// console.log('111111111');
// 3. Router
app.router(require('./router'))

// 4. Start
app.start('#root')
